package elven.codingit.easyutil.easyui;

public class Demo {

	
	public static void main(String[] args) {
		
		String agent = "com.paoword.www.paoword/1.8.0 (Nexus 6P; 6.0.1; 867982021175550; Huawei; zh; Android; 81; dev)";
		System.out.println(agent.substring(agent.indexOf("/")+1, agent.indexOf("(")-1));//app版本
		String[] phoneDetail = agent.substring(agent.indexOf("(")+1, agent.length()).split(";");
		System.out.println(phoneDetail[0]);//手机型号
		System.out.println(phoneDetail[3]);//制作厂商
	}
}
